<!doctype html>
<!doctype html>
<html>
<head>
<script src="/kissy/build/seed-debug.js"></script>

<script src="../easing.js"></script>
<script src="../base.js"></script>
<script src="../manager.js"></script>
<script src="../color.js"></script>
<script src="../fx.js"></script>
<script src="../../anim.js"></script>
<script src="../queue.js"></script>
<script src="http://localhost/lib/jquery/dist/jquery.js"></script>
</head>
<body>
<button id='scroll'>scroll</button>
<div style='height:2000px;'>
</div>
<script>

    KISSY.use("node,anim", function(S, Node, Anim) {

        Node.all("#scroll").on("click", function() {
            var a = Anim(window, {
                scrollTop:1000
            });
            a.run();
        });

    });

</script>
</body>
</html>